const router = [];
router.push({
    path: "/",
    component: () => import("../components/Dashboard"),
    name: "Index",
    redirect: "/home",
    children: [
        {
            path: "/home",
            name: "Home",
            component: () => import("../components/Home"),
            meta: {
                title: "系统首页",
                keepAlive: false
            }
        },
        {
            path: "/workflowDesign",
            name: "WorkFlowDesign",
            component: () => import("../components/jbpm/JbpmDesign"),
            meta: {
                title: "流程设计",
                keepAlive: false
            }
        }, 
        {
            path: "/dynamicform",
            name: "DynamicForm",
            component: () => import("../components/dyform/DynamicForm"),
            meta: {
                title: "动态建模",
                keepAlive: false
            }
        }, {
            path: "/continus/instanceDetail",
            name: "ContinusInstanceDetail",
            component: () => import("../components/continus/ContinusInstanceDetail"),
            meta: {
                title: "流水线详情",
                keepAlive: false
            }

        }, {
            path: "/continus/instanceExecRecord",
            name: "ContinusInstanceExecRecord",
            component: () => import("../components/continus/ContinusInstanceExecRecord"),
            meta: {
                title: "流水线执行记录",
                keepAlive: false
            }

        }, {
            path: "/continus/instanceInit",
            name: "ContinusInstanceInit",
            component: () => import("../components/continus/ContinusInstanceInit"),
            meta: {
                title: "流水线配置",
                keepAlive: false
            }

        }],
    meta: {
        title: "主页",
        keepAlive: false
    }
});
router.push({
    path: "/login",
    component: () => import("../components/Login"),
    name: "登录",
    meta: {
        keepAlive: false,
        title: "系统登录"
    }
});
export default router;